﻿using PBO.Data;
using PokemonBattle.BattleNetwork;
using System;
using System.Collections.Generic;

namespace PBO.Game.BattleClass
{
    public partial class Battle
    {

        #region const

        public const int StruggleIndex = 5;
        public const int TauntTurn = 3;
        public const int UproarTurn = 3;
        public const int MaxSleepTurn = 3;
        public const int MinSleepTurn = 1;
        public const int RestTurn = 2;
        public const int EncoreTurn = 3;
        public const int WithwindTurn = 4;

        #endregion

        public enum BattleTurnMove
        {
            NextTurn,
            Pass,
            Death
        }

        private int _turn = 1;

        public Dictionary<byte, string> _players = new Dictionary<byte, string>();
        private Dictionary<byte, TeamData> _teamDatas = new Dictionary<byte, TeamData>();

        public BattleGround Ground { get; set; }

        public BattleMode Mode { get; private set; }
        public List<BattleRule> Rules { get; set; }
        public BattleReplay Replay { get; private set; }
        public bool Ended { get; private set; }
        public bool BattleReady { get; private set; }
    }
}
